package com.tang.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(value = "用户对象", description = "用户对象")
public class User implements Serializable {

    /**
     * 序列号
     */
    private static final long serialVersionUID = -8946864461192824919L;

    @ApiModelProperty(value = "用户表主键（添加时不用带，修改和删除时必带）", dataType = "String", name = "userId", example = "", required = true)
    private String userId;

    @ApiModelProperty(value = "用户姓名", dataType = "String", name = "userName", example = "", required = true)
    private String userName;

    @ApiModelProperty(value = "用户密码", dataType = "String", name = "userPassword", example = "", required = true)
    private String userPassword;

    @ApiModelProperty(value = "用户联系方式（一般为手机号）", dataType = "String", name = "userPhone", example = "", required = true)
    private String userPhone;

    @ApiModelProperty(value = "用户创建时间", dataType = "String", name = "userCreateTime", example = "", required = false)
    private String userCreateTime;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserCreateTime() {
        return userCreateTime;
    }

    public void setUserCreateTime(String userCreateTime) {
        this.userCreateTime = userCreateTime;
    }
}
